package com.dl.service;

import com.dl.dao.TeacherMapper;
import com.dl.pojo.Teacher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherService {

    @Autowired
    private TeacherMapper teacherMapper;

    public List<Teacher> getTeachers(Teacher teacher){return teacherMapper.selTeachers(teacher);}
}
